Translate GDK_KEY_KP_Decimal according to locale
authorMatthias Clasen <mclasen@redhat.com>
Tue, 20 Oct 2015 15:06:43 +0000 (11:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 25 Oct 2015 17:59:48 +0000 (13:59 -0400)
commit7c7fde136e1fd1197df1881a3bbd975c4cb1c01a
treec77ef6815f4018ca52cf88e97be443ebb7d6361f
parent64c5b97be84dd05fb200201274ac9fd8ba2f424c
Translate GDK_KEY_KP_Decimal according to locale

It makes sense that you should be able to type numbers that are
correctly formatted and parsable according to the current locale,
using just the keypad. This patch makes it so by translating
GDK_KEY_KP_Decimal to the decimal separator for the current locale,
instead of hardcoding a '.'.

https://bugzilla.gnome.org/show_bug.cgi?id=756751
gdk/gdkkeyuni.c